//
//  AppDelegate.m
//  TTTest-iOS
//
//  Created by Toj on 1/19/21.
//

#import "AppDelegate.h"
#import "ViewController.h"
#import "STTabBarController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    self.window = [[UIWindow alloc] initWithFrame:UIScreen.mainScreen.bounds];
    
    ViewController *vc = [ViewController new];
    self.window.rootViewController = vc;
    [self.window makeKeyAndVisible];
    
    
    auto int age = 20;
    void (^block)(void) =  ^{
         NSLog(@"age is %d",age);
    };
    age = 25;
           
    block();

    
    
    return YES;
}

@end
